function getMemberList (params) {
  return $axios({
    url: '/employee/page',
    method: 'get',
    params
  })
}

//查询任务监控的接口
function getDishPagess(params) {
  return $axios({
    url: '/log/page',
    method: 'get',
    params
  })
}
//查询任务监控的接口syslog的监控界面
function getDishPagesss(params) {
  return $axios({
    url: '/SysLog/page',
    method: 'get',
    params
  })
}

// 修改---启用禁用接口
function enableOrDisableEmployee (params) {
  return $axios({
    url: '/employee',
    method: 'put',
    data: { ...params }
  })
}

// 新增---添加员工
function addEmployee (params) {
  return $axios({
    url: '/employee',
    method: 'post',
    data: { ...params }
  })
}

// 修改---添加员工
function editEmployee (params) {
  return $axios({
    url: '/employee',
    method: 'put',
    data: { ...params }
  })
}

// 修改页面反查详情接口
function queryEmployeeById (id) {
  return $axios({
    url: `/employee/${id}`,
    method: 'get'
  })
}

// 删除一条员工
function deleteEmployeeById (id) {
  return $axios({
    url: `/employee/${id}`,
    method: 'delete'
  })
}
// 删除一条大致日志监控
function delesysById (id) {
  return $axios({
    url: `/SysLog/${id}`,
    method: 'delete'
  })
}

// 删除一条具体数据
function deletejuti (id) {
  return $axios({
    url: `/log/${id}`,
    method: 'delete'
  })
}